import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './styles/index.scss' // 全局样式

// 导入全局指令
import waves from './directive/waves'
// 导入全局组件
import Pagination from '@/components/Pagination'

Vue.config.productionTip = false

Vue.use(ElementUI, { size: 'medium' })
// 注册全局指令
Vue.use(waves)
// 注册全局组件
Vue.component('Pagination', Pagination)

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
